<!-- 小组小队列表 -->
<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="小队" name="team"></el-tab-pane>
      <el-tab-pane label="小组" name="group"></el-tab-pane>
    </el-tabs>
    
    <Team v-if="activeName == 'team'" />
    <Group v-if="activeName == 'group'" />
  </div>
</template>

<script>
import Group from './group'
import Team from './team'

export default {
  name: 'GroupList',
  components: { Group, Team},
  data() {
    return {
      activeName: 'team'
    }
  }
}
</script>
